#include "place.h"

class Region : public Place {
protected:
    int citiesCount;
public:
    Region(const char* R_name, int pCount, int cCount) : Place(pCount, R_name) {
        citiesCount = cCount;
    }
    ~Region() {
        std::cout << "free region\n";
    }
    void out() override;
};

void Region::out() {
    std::cout << "Name: " << this->name << std::endl;
    std::cout << "Cities count: " << this->citiesCount << std::endl;
    std::cout << "People amount: " << this->peopleCount << std::endl << std::endl;
}